TARGET ?= led
CROSS_COMPILE ?= arm-linux-gnueabihf-

CC = $(CROSS_COMPILE)gcc
LD = $(CROSS_COMPILE)ld

src = led.c

$(TARGET):$(src)
	$(CC) -o $@ $<


.PHONY: clean

clean:
	rm -rf *.o $(TARGET)
